﻿using System;
using System.Text.Json.Serialization;

namespace ORS.OrderRobot.ServiceContracts.Dtos.Api
{
    public class UpdateUserInput {
        /// <summary>
        /// 登录凭据
        /// </summary>
        public string Token  {get;set;}
        /// <summary>
        /// 用户id
        /// </summary>
        public string CustomerId {get;set;}
        /// <summary>
        /// 需更新的信息
        /// </summary>
        public UpdateUserInfo UserInfo { get;set;}
    }
	public class UpdateUserInfo
	{
        /// <summary>
        /// 中文姓的拼音
        /// </summary>
        [JsonPropertyName("first_name")]
        public string FirstName { get; set; }
        /// <summary>
        /// 中文名的拼音
        /// </summary>
        [JsonPropertyName("last_name")]
        public string LastName { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        [JsonPropertyName("birthday")]
        public string Birthday { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [JsonPropertyName("phone_mobile")]
        public string PhoneMobile { get; set; }

        [JsonPropertyName("phone_home")]
        public string PhoneHome { get; set; }
    }
}

